<?php
if (!defined('APP_ID')) { die('No direct script access allowed'); }

class Navigation {
	/**
	 * Return data for view
	 */
	public static function getData() {
		return Config::get('controllers', 'navigation');
	}
	
	public static function getControllerTitle($id) {
		$arr = Config::get('controllers', 'navigation');
		return $arr[$id]['title'];
	}
}